package com.atlinmengze.java.ai.langchain4j.assistant;

import dev.langchain4j.service.spring.AiService;
import dev.langchain4j.service.spring.AiServiceWiringMode;

import static dev.langchain4j.service.spring.AiServiceWiringMode.EXPLICIT;

@AiService(wiringMode =EXPLICIT,chatModel = "qwenChatModel")
public interface Assistant {
    /**聊天方法
     * @param userMessage
     * @return
     */
    String chat(String userMessage);
}
